//
//  AddEventViewController.h
//  PartyAnimal
//
//  Created by Hilary Muludiang on 3/18/12.
//  Copyright 2012 Muludiang. All rights reserved.
//
//
#import <UIKit/UIKit.h>

@interface AddEventViewController : UIViewController <UITextFieldDelegate, UIImagePickerControllerDelegate, UINavigationControllerDelegate, UITextViewDelegate>{
	UIScrollView *scrollView;
	UITextField *eventName;
	UITextField *eventLocation;
	UITextField *currentTextField;
	UITextView *currentTextView;
	BOOL keyboardIsShown;
	BOOL front;
	UIButton *addFlyer;
	UITextView *eventNotes;
	UIImageView *flyerFront;
	UIImageView *flyerBack;
	UITextField *startDate;
	UITextField *endDate;
	UIDatePicker *datePicker;
	
}

@property(nonatomic,retain) IBOutlet UIScrollView *scrollView;
@property(nonatomic,retain) IBOutlet UITextField *eventName;
@property(nonatomic,retain) IBOutlet UITextField *eventLocation;
@property(nonatomic,retain) IBOutlet UIButton *addFlyer;
@property(nonatomic,retain) IBOutlet UIImageView *flyerFront;
@property(nonatomic,retain) IBOutlet UIImageView *flyerBack;
@property(nonatomic,retain) IBOutlet UITextField *startDate;
@property(nonatomic,retain) IBOutlet UITextField *endDate;
@property(nonatomic,retain) IBOutlet UITextView *eventNotes;
@property(nonatomic,retain) IBOutlet UIDatePicker *datePicker;

-(IBAction)pickDate:(id) sender;
-(IBAction)selectSideOne:(UIButton *)sender;
-(IBAction)selectSideTwo:(UIButton *)sender;
-(IBAction)submitEvent:(UIBarButtonItem *) sender;
-(void)postEvent;

@end
